package zookeeper.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @program: check-repetition
 * @description:
 * @author: hjk
 * @create: 2021-07-14 17:19
 **/
@Data
@ConfigurationProperties(prefix = "zoo.keeper")
public class ZookeeperParam {

    private boolean enabled;

    private String server;

    private String namespace;

    private String digest;

    private Integer sessionTimeoutMs;

    private Integer connectionTimeoutMs;

    private Integer maxRetries;

    private Integer baseSleepTimeMs;

}
